export default {
    data: {
        id: '12121',
        name: '青眼白龙',
        level: 8,
        attack: 3000,
        defend: 2500,
        desc: 'im cute',
        type: ['monster', 'tc']
    },
    lifeCycle: {
        summon: function() {
            let drawEvent = this.createEvent('draw-card', function(from, type, ifm) {
                console.log('你居然敢抽卡！')
                console.log('你抽了'+ifm.num+'张卡！');
            })
            this.registEvent(drawEvent);
        }
    }
}